package com.headfirst.dp.chapter1.realworld;

public class SecurityService {

	protected SecurityModule module;
	
	public void performSignAndEncrypt() {
		module.signAndEncrypt();
	}
	
	public void performVerifySignAndDecryption() {
		module.verifySignAndDecryption();
	}
	
	public void performSignPackage(){
		module.signPackage();
	}
	
	public void performVerifySignedPackage(){
		module.verifySignedPackage();
	}
	
	public void setSecurityModule(SecurityModule securityModule) {
		this.module = securityModule;
	}
}
